package com.example.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author YuanYuan
 * @Date 2023/6/5
 * @Time 0:26
 */

@Controller
@ResponseBody
@RequestMapping("/article")
@Slf4j
public class ArticleController {
    @RequestMapping("/hi")
    public String sayHi() {
        log.trace("trace");
        log.debug("debug");
        log.info("info");
        return "Hi,Article Info Yuan!";
    }
}
